package com.example.casper.Experiment2024.data;

import java.io.Serializable;

public class BookItem implements Serializable{
    public String getTitle() {
        return title;
    }

    //public double getPrice() {
    //    return price;
    //}

    public int getResourceId() {
        return resourceId;
    }
    public String getContext_daka() {
        return context_daka;
    }

    private String title;
    private String context_daka;

    public void setTitle(String itemName) {
        this.title=itemName;
    }
    public void setContext_daka(String context_daka) {
        this.context_daka = context_daka;
    }
    //public void setPrice(double price) {
    //    this.price = price;
    //}

    private final int resourceId;

    public BookItem(String itemTitle, String contextDaka, int itemPictureResourceId) {
        this.title=itemTitle;
        this.context_daka = contextDaka;
        //private double price;
        this.resourceId=itemPictureResourceId;
    }

}